#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef pair<int, int> pii;

const int MAXN = 300 + 10;
const int MOD = 1e9 + 7;


int main() {
#ifdef LOCAL
    freopen("in.txt", "r", stdin);
    freopen("out.txt", "w", stdout);
#endif
    cout << 298 << endl;
    for (int i = 1; i < 100; i++) {
        cout << i << ' ' << 100*i <<  ' ' << 10000*i << ' ';
    }
    cout << 1000000 << endl;
    return 0;

}